package com.xinli.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinli.common.annotation.Excel;
import com.xinli.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

/**
 * 轮播图对象 t_lb_image
 *
 * @author ruoyi
 * @date 2024-10-13
 */
@Data
@TableName(value = "t_lb_image")
@EqualsAndHashCode(callSuper = true)
public class TLbImage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "标题"
     */
    @Excel(name = "标题")
    @Size(min = 0, max = 50, message = "标题不能超过50个字符")
    private String title;

    /**
     * "图片"
     */
    @Excel(name = "图片")
    private String image;

    /**
     * "轮播图类型 "
     */
    @Excel(name = "轮播图类型 ")
    private String type;

    /**
     * "url"
     */
    @Excel(name = "url")
    private String url;


}
